package com.hello.fastboot.test.entity;


import com.gitee.huanminabc.fastboot.web.annotation.validation.NotBlank;
import com.gitee.huanminabc.fastboot.web.annotation.validation.NotNull;
import com.gitee.huanminabc.nullchain.NullExt;
import lombok.Data;

import java.util.Date;

@Data
public class WorkEntity implements NullExt<WorkEntity> {
    private Integer id;
    private String creator;
    private String fields;
    @NotBlank
    private String workId;
    private Integer lock;
    private String operator;
    @NotNull
    private Date date;

}
